<script setup lang="ts">
import { RouterView } from 'vue-router'
</script>

<template>
  <RouterView />
</template>

<style>
body {
  margin: 0;
  overflow: hidden;
}

#app {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#nprogress .bar {
  background: #f18b05 !important;
}

/* 广告管理页面上传图片样式 */
.avatar-uploader .el-upload {
  border: 1px dashed var(--el-border-color);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: var(--el-transition-duration-fast);
}

.avatar-uploader .el-upload:hover {
  border-color: var(--el-color-primary);
}

.el-icon.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 178px;
  height: 178px;
  text-align: center;
}

/* 团购管理弹出抽屉样式 */
.drawer .el-drawer__header {
  padding-bottom: 20px;
  margin: 0px !important;
}

.drawer .el-drawer__body {
  padding: 0;
}

.dialog .el-dialog__body {
  padding: 0;
  margin: auto;
  text-align: center;
}
</style>
